import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: 'userid',
    align: "center",
    dataIndex: 'userid'
  },
  {
    title: 'liveid',
    align: "center",
    dataIndex: 'liveid'
  },
  {
    title: 'content',
    align: "center",
    dataIndex: 'content'
  },
  {
    title: 'createtime',
    align: "center",
    dataIndex: 'createtime'
  },
  {
    title: 'updatetime',
    align: "center",
    dataIndex: 'updatetime'
  },
  {
    title: 'createby',
    align: "center",
    dataIndex: 'createby'
  },
  {
    title: 'updateby',
    align: "center",
    dataIndex: 'updateby'
  },
];

// 高级查询数据
export const superQuerySchema = {
  userid: {title: 'userid',order: 0,view: 'text', type: 'string',},
  liveid: {title: 'liveid',order: 1,view: 'text', type: 'string',},
  content: {title: 'content',order: 2,view: 'text', type: 'string',},
  createtime: {title: 'createtime',order: 3,view: 'datetime', type: 'string',},
  updatetime: {title: 'updatetime',order: 4,view: 'datetime', type: 'string',},
  createby: {title: 'createby',order: 5,view: 'text', type: 'string',},
  updateby: {title: 'updateby',order: 6,view: 'text', type: 'string',},
};
